package y23.Oct;


import java.io.File;
import java.math.BigDecimal;

class Test {
    public native void doSomething();
}

public class Test36 {
    public static void main(String[] args) {
        int[] index = new int[] {6,0,2,1,3,6,7,0,2,5,4};
        int[] arr = new int[]{5,0,6,7,3,9,1,4};
        BigDecimal a = new BigDecimal(1);

        String tel = "";
        for(int i:index){
            tel +=arr[i];
        }
        System.out.println(tel);

    }
}
